Pivot table between users and the notifications they should receive.
More...
Static Private Attributes |
| string | __tablename__ = 'users_notifications' |
Detailed Description
Pivot table between users and the notifications they should receive.
Definition at line 59 of file pivot_tables.py.
Member Function Documentation
| def wowf.models.pivot_tables.UserNotification.confirm |
( |
|
self | ) |
|
Member Data Documentation
| string wowf.models.pivot_tables.UserNotification.__tablename__ = 'users_notifications' |
|
staticprivate |
| tuple wowf.models.pivot_tables.UserNotification.is_confirmed = Column(Boolean, nullable=False, default=False) |
|
static |
| wowf.models.pivot_tables.UserNotification.is_confirmed |
| tuple wowf.models.pivot_tables.UserNotification.notification_id |
|
static |
Initial value:Column(
Integer(unsigned=True),
ForeignKey('notifications.id', ondelete='cascade'),
primary_key=True, autoincrement=False)
Definition at line 62 of file pivot_tables.py.
| tuple wowf.models.pivot_tables.UserNotification.user_id |
|
static |
Initial value:Column(
Integer(unsigned=True), ForeignKey('users.id', ondelete='cascade'),
primary_key=True, autoincrement=False)
Definition at line 66 of file pivot_tables.py.
The documentation for this class was generated from the following file: